<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Login</title>
<link href="css/login-box.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<form action="login" method="post">
	<div>
		<div id="login-box">
		<h2>Login</h2>
		Efetue o login para prosseguir... <br />
		<% if (request.getAttribute("mensagem") != null) { %>
			<div class="erro">
				<%= request.getAttribute("mensagem") %>
			</div>
		<% } %>
		<br />
		<div id="login-box-name" style="margin-top: 20px;">Nome:</div>
		<div id="login-box-field" style="margin-top: 20px;">
			<input name="nome" class="form-login" title="Username" value="" size="30" maxlength="2048" />
		</div>
		<div id="login-box-name">Senha:</div>
		<div id="login-box-field">
			<input name="senha" type="password" class="form-login" title="Password" value="" size="30" maxlength="2048" />
		</div>
		<br />
		<span class="login-box-options"><a href="#">Esqueceu a senha?</a></span>
		<br />
		<br />
		<input type="image" src="images/login-btn.png" class="enviar" value="submit" alt="submit"/>
		</div>
	</div>
	</form>
</body>
</html>